package com.erp.erp_dao.Company;

import com.erp.erp_entitys.Company.CompanyEntity;
import com.erp.erp_entitys.Company.CompanyEntityExample;
import java.util.List;

import com.erp.vo.SelectVo;
import org.apache.ibatis.annotations.Param;

public interface ICompanyDAO {
    long countByExample(CompanyEntityExample example);

    int deleteByExample(CompanyEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompanyEntity record);

    int insertSelective(CompanyEntity record);

    List<CompanyEntity> selectByExample(CompanyEntityExample example);

    CompanyEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompanyEntity record, @Param("example") CompanyEntityExample example);

    int updateByExample(@Param("record") CompanyEntity record, @Param("example") CompanyEntityExample example);

    int updateByPrimaryKeySelective(CompanyEntity record);

    int updateByPrimaryKey(CompanyEntity record);

    List<SelectVo> getAllList();
}